package edu.zju.gis.dbfg.server.model.vo;

import edu.zju.gis.dbfg.common.base.BaseEntity;
import edu.zju.gis.dbfg.server.model.ParallelModel;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class PublicModelsInfo {
    private String artifactId;
    private String picPath;
    private String name;
    private String date;
    private String keywords;

    public PublicModelsInfo(ParallelModel parallelModel) {
        this.artifactId = parallelModel.getArtifactId();
        this.picPath = parallelModel.getPicPath();
        this.name = parallelModel.getName();
        this.date = parallelModel.getDate();
        this.keywords = parallelModel.getKeywords();
    }
}
